Datawindow Button
Disabling a button on a datawindow
Datawindow buttons do not have a Disabled property. So showing them as “disabled” is not clear cut. Here is one way
In the datawindow painter, create a static text control of the same size as the button
- Set the border to outline
- Set its text to ”…”
- Text should be bold and colored dark gray
- Move it directly underneath the button
Now hide the button in script to disable it
dw_ff.Object.b_seeded.Visible = ab_switch
No comments yet.
-
Archives
- August 2009 (2)
- May 2009 (1)
- March 2009 (1)
- January 2009 (2)
- December 2008 (1)
- November 2008 (2)
- September 2008 (1)
- August 2008 (1)
- July 2008 (24)
- June 2008 (22)
- May 2008 (69)
- April 2008 (25)
-
Categories
-
RSS
Entries RSS
Comments RSS
Leave a comment